<?php
//http://www.runoob.com/php/php-date.html
echo date("Y/m/d") . "<br>";
echo date("Y.m.d") . "<br>";
echo date("Y-m-d-l");
?>